6.1
MEDIUM CVSS 3.1
CVE-2026-45249
Apache ECharts: XSS in Lines series tooltip rendering
Description

A cross-site scripting (XSS) vulnerability exists in Apache ECharts in the Lines series tooltip rendering logic. This issue affects Apache ECharts: from before 6.1.0. In versions prior to 6.1.0, if both Lines series and tooltip are used, and no user-specified tooltip.formatter is provided, and series.data[i].name is specified, raw HTML string series.data[i].name can be rendered through innerHTML sink into tooltip content. Although tooltip is allowed to accept user-provided raw HTML via a custom tooltip.formatter, the built-in tooltip formatters conventionally perform HTML escaping automatically. This case breaks that convention and may unexpectedly lead to script execution when tooltips are displayed. Users are recommended to upgrade to version 6.1.0 if using the Lines series in this way, which fixes the issue.

INFO

Published Date :

May 25, 2026, 8:16 a.m.

Last Modified :

May 28, 2026, 1:48 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-45249 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache echarts
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Upgrade Apache ECharts to version 6.1.0 or later to fix XSS vulnerability.
  • Upgrade Apache ECharts to version 6.1.0.
  • Configure custom tooltip formatters.
  • Escape user-provided tooltip content.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-45249.

URL Resource
https://echarts.apache.org/en/option.html#series-lines Product
https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely Product
https://github.com/apache/echarts/pull/21608 Issue Tracking Patch
https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o Mailing List Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/05/23/4 Mailing List Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-45249 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-45249 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-45249 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-45249 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    May. 28, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:apache:echarts:*:*:*:*:*:*:*:* versions up to (excluding) 6.1.0
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/05/23/4 Types: Mailing List, Third Party Advisory
    Added Reference Type Apache Software Foundation: https://echarts.apache.org/en/option.html#series-lines Types: Product
    Added Reference Type Apache Software Foundation: https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely Types: Product
    Added Reference Type Apache Software Foundation: https://github.com/apache/echarts/pull/21608 Types: Issue Tracking, Patch
    Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o Types: Mailing List, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 26, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 25, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/23/4
  • New CVE Received by [email protected]

    May. 25, 2026

    Action Type Old Value New Value
    Added Description A cross-site scripting (XSS) vulnerability exists in Apache ECharts in the Lines series tooltip rendering logic. This issue affects Apache ECharts: from before 6.1.0. In versions prior to 6.1.0, if both Lines series and tooltip are used, and no user-specified tooltip.formatter is provided, and series.data[i].name is specified, raw HTML string series.data[i].name can be rendered through innerHTML sink into tooltip content. Although tooltip is allowed to accept user-provided raw HTML via a custom tooltip.formatter, the built-in tooltip formatters conventionally perform HTML escaping automatically. This case breaks that convention and may unexpectedly lead to script execution when tooltips are displayed. Users are recommended to upgrade to version 6.1.0 if using the Lines series in this way, which fixes the issue.
    Added CWE CWE-79
    Added Reference https://echarts.apache.org/en/option.html#series-lines
    Added Reference https://echarts.apache.org/handbook/en/best-practices/security/#passing_raw_html_safely
    Added Reference https://github.com/apache/echarts/pull/21608
    Added Reference https://lists.apache.org/thread/1g6xk7gd9vg1c6zyqqt2lnko10zomc3o
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.